package com.example.sunlight.wzoneunicom.activity;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.view.View;
import android.widget.LinearLayout;

import com.example.sunlight.wzoneunicom.R;

/**
 * Created by SunLight on 2017/9/13.
 */

public class BriefActivity extends Activity implements View.OnClickListener {
    LinearLayout rentss;

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.brieffragment);
        rentss = (LinearLayout) findViewById(R.id.rentss);
        rentss.setOnClickListener(this);
    }

    @Override
    public void onClick(View view) {
        switch (view.getId()) {
            case R.id.rentss:
                Intent intent = new Intent(this, MainActivity.class);
                startActivity(intent);
                break;
        }
    }
}
